package com.ExaminStudy;

import java.util.Scanner;

public class Test59 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        String s1;
        String s2;
            System.out.println("请你输入一段字符串");
            s1=sc.next();
            System.out.println("请输入你要删除的字符");
            s2=sc.next();

        s1=s1.replace(s2,"");
        System.out.println(s1);


    }
}
//    String string1 = new String(str);
//    String string2 = String.valueOf(str);